webpackJsonp([9],{

/***/ 243:
/***/ (function(module, exports, __webpack_require__) {

var disposed = false
var normalizeComponent = __webpack_require__(27)
/* script */
var __vue_script__ = __webpack_require__(244)
/* template */
var __vue_template__ = __webpack_require__(245)
/* template functional */
var __vue_template_functional__ = false
/* styles */
var __vue_styles__ = null
/* scopeId */
var __vue_scopeId__ = null
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
  __vue_script__,
  __vue_template__,
  __vue_template_functional__,
  __vue_styles__,
  __vue_scopeId__,
  __vue_module_identifier__
)
Component.options.__file = "resources\\assets\\js\\components\\admin\\sys_setting\\admins.vue"

/* hot reload */
if (false) {(function () {
  var hotAPI = require("vue-loader/node_modules/vue-hot-reload-api")
  hotAPI.install(require("vue"), false)
  if (!hotAPI.compatible) return
  module.hot.accept()
  if (!module.hot.data) {
    hotAPI.createRecord("data-v-5b8c1046", Component.options)
  } else {
    hotAPI.reload("data-v-5b8c1046", Component.options)
  }
  module.hot.dispose(function (data) {
    disposed = true
  })
})()}

module.exports = Component.exports


/***/ }),

/***/ 244:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//

/* harmony default export */ __webpack_exports__["default"] = ({
    data: function data() {
        return {
            hint: {
                'title': '操作提示',
                'content': '后台管理员列表，超级管理员不在此列表内！'
            },
            num: null,
            tableData: [],
            loading: true,
            list_show: '',
            add_show: ''
        };
    },
    created: function created() {
        this.get_admins();
        this.list_show = true;
        this.add_show = false;
        console.log(123456);
    },

    methods: {
        get_admins: function get_admins() {
            var _this = this;

            axios.post(this.adminApi('admins-list')).then(function (res) {
                _this.loading = false;
                if (res.data.code === 0) {
                    _this.tableData = res.data.info;
                    _this.num = _this.tableData.length;
                } else {
                    _this.$message.error(res.data.msg);
                }
            }).catch(function (err) {
                _this.$message.error('请稍后重试');
            });
        },
        add_page: function add_page() {
            this.list_show = false;
            this.add_show = true;
        }
    }
});

/***/ }),

/***/ 245:
/***/ (function(module, exports, __webpack_require__) {

var render = function() {
  var _vm = this
  var _h = _vm.$createElement
  var _c = _vm._self._c || _h
  return _c("div", [
    _c(
      "div",
      {
        directives: [
          {
            name: "show",
            rawName: "v-show",
            value: _vm.list_show,
            expression: "list_show"
          }
        ],
        staticClass: "m-box"
      },
      [
        _c("hint", {
          attrs: { title: _vm.hint.title, content: _vm.hint.content }
        }),
        _vm._v(" "),
        _c(
          "h2",
          [
            _vm._v("管理员列表（共有" + _vm._s(_vm.num) + "条记录）\n        "),
            _c(
              "el-button",
              {
                attrs: { type: "primary", plain: "", size: "small" },
                on: { click: _vm.add_page }
              },
              [_vm._v("添 加")]
            )
          ],
          1
        ),
        _vm._v(" "),
        _c(
          "el-table",
          {
            directives: [
              {
                name: "loading",
                rawName: "v-loading",
                value: _vm.loading,
                expression: "loading"
              }
            ],
            staticStyle: { width: "100%" },
            attrs: { data: _vm.tableData, border: "" }
          },
          [
            _c("el-table-column", { attrs: { prop: "id", label: "ID" } }),
            _vm._v(" "),
            _c("el-table-column", {
              attrs: { prop: "name", label: "管理员名称" }
            }),
            _vm._v(" "),
            _c("el-table-column", {
              attrs: { prop: "roleName", label: "管理员角色" }
            }),
            _vm._v(" "),
            _c("el-table-column", {
              attrs: { fixed: "right", label: "操作" },
              scopedSlots: _vm._u([
                {
                  key: "default",
                  fn: function(scope) {
                    return [
                      _c(
                        "el-button",
                        {
                          attrs: { type: "primary", size: "small" },
                          on: {
                            click: function($event) {
                              _vm.handleClick(scope.row)
                            }
                          }
                        },
                        [_vm._v("编辑")]
                      ),
                      _vm._v(" "),
                      _c(
                        "el-button",
                        { attrs: { type: "danger", size: "small" } },
                        [_vm._v("删除")]
                      )
                    ]
                  }
                }
              ])
            })
          ],
          1
        )
      ],
      1
    ),
    _vm._v(" "),
    _c(
      "div",
      {
        directives: [
          {
            name: "show",
            rawName: "v-show",
            value: _vm.add_show,
            expression: "add_show"
          }
        ]
      },
      [_vm._v("\n        1234567\n    ")]
    )
  ])
}
var staticRenderFns = []
render._withStripped = true
module.exports = { render: render, staticRenderFns: staticRenderFns }
if (false) {
  module.hot.accept()
  if (module.hot.data) {
    require("vue-loader/node_modules/vue-hot-reload-api")      .rerender("data-v-5b8c1046", module.exports)
  }
}

/***/ })

});